import service from '.'


const echartsApi = {
    getDepartmentInfo() {
        return service.get('/admin/echarts/department');
    },
    getPartsInfo() {
        return service.get('/admin/echarts/parts');
    },
    getUserNumber() {
        return service.get('/admin/echarts/userNumber');
    },
    getSexRatio() {
        return service.get('/admin/echarts/sex');
    },
    getAppointmentNumber() {
        return service.get('/admin/echarts/appointment');
    }
}

export default echartsApi;